package com.slx.longest_consecutive_sequence;

import org.junit.Assert;
import org.junit.Test;

public class Main {
    @Test
    public void test() {
        int[] nums = {100, 4, 200, 1, 3, 2};

        Solution solution = new Solution();

        Assert.assertEquals(4, solution.longestConsecutive(nums));
    }
}
